import "./assets/style/main.css";
import "./assets/icon/css/font-awesome.min.css";
// import "./assets/style/element.scss";
import "./assets/style/element.css";
import { createApp } from "vue";
import { createPinia } from "pinia";
//引入cesium基础库
import "mars3d-cesium/Build/Cesium/Widgets/widgets.css";
import * as Cesium from "mars3d-cesium";
//导入mars3d主库
import "mars3d/dist/mars3d.css";
// import * as mars3d from "mars3d";

import App from "./App.vue";
import router from "./router";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
const app = createApp(App);
// 注册所有图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
}
import "./utils/storage";
// 功能窗口
import functional from "./components/functionalwindow.vue";
app.component("functional", functional);
app.use(createPinia());
app.use(router);
app.use(ElementPlus);
app.mount("#app");
